<?php
namespace App\Fastapp\Dto;

use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;
use Mine\Interfaces\MineModelExcel;

/**
 * 用户账号表Dto （导入导出）
 */
#[ExcelData]
class FastappAccountDto implements MineModelExcel
{
    #[ExcelProperty(value: "用户ID，主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "创建时间", index: 1)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 2)]
    public string $updated_at;

    #[ExcelProperty(value: "删除时间", index: 3)]
    public string $deleted_at;

    #[ExcelProperty(value: "用户名", index: 4)]
    public string $username;

    #[ExcelProperty(value: "手机区号", index: 5)]
    public string $code;

    #[ExcelProperty(value: "手机", index: 6)]
    public string $mobile;

    #[ExcelProperty(value: "用户邮箱", index: 7)]
    public string $email;

    #[ExcelProperty(value: "密码", index: 8)]
    public string $password;

    #[ExcelProperty(value: "状态 (1正常 2停用)", index: 9)]
    public string $status;

    #[ExcelProperty(value: "最后登陆IP", index: 10)]
    public string $last_ip;

    #[ExcelProperty(value: "最后登陆时间", index: 11)]
    public string $last_at;

    #[ExcelProperty(value: "入口类型", index: 12)]
    public string $type;

    #[ExcelProperty(value: "用户编号", index: 13)]
    public string $no;

    #[ExcelProperty(value: "gene_id", index: 14)]
    public string $gene_id;


}